﻿using System;
using LibGit2Sharp;

namespace CommonCodeManagers.Model
{
    public class GitAccount
    {
        public string Name { get; set; }

        public string Email { get; set; }

        public string UserName { get; set; }

        public string Password { get; set; }

        /// <summary>
        /// Git仓库
        /// </summary>
        public string Reposity { get; set; }

        public Signature GetSignature()
        {
            return new Signature(
                new Identity(Name, Email),
                DateTime.Now);
        }


            
    }
}
